package main

import (
	"encoding/base64"
	"fmt"
)

func main()  {



	str := "{  \n   \"merchantId\":\"M2306160483220675579140\",\n   \"transactionId\":\"TX123456789\",\n   \"merchantUserId\":\"U123456789\",\n   \"amount\":100,\n   \"merchantOrderId\":\"OD1234\",\n   \"mobileNumber\":\"9xxxxxxxxx\",\n   \"message\":\"payment for order placed OD1234\",\n   \"subMerchant\":\"DemoMerchant\",\n   \"email\":\"amit***75@gmail.com\",\n   \"shortName\":\"Amit\"\n}"
	token := base64.StdEncoding.EncodeToString([]byte(str))
	fmt.Println("token", token)

	orderId := "MAL_D_1_5D7DA49E590594A82F4DAEECC0346BCA"
	for k, _:= range orderId {
		fmt.Println(k)
	}

	fmt.Println(len(orderId))
	fmt.Println("😇")
}